package com.wanbo.springbootwx.entity;

import java.util.Map;

public class MusicMessage extends BaseMessage {

    // 音乐标题
    private String title;

    //音乐描述
    private String description;

    // 音乐连接
    private String musicUrl;

    //高质量音乐连接，WIFI环境优先使用该连接播放音乐
    private String hQMusicUrl;

    //缩略图的媒体id，通过素材管理中的接口上传多媒体文件，得到的id
    private String thumbMediaId;



    public MusicMessage(Map<String, String> reqMap,
    String title,String description,String musicUrl,String hQMusicUrl,
    String thumbMediaId) {
        super(reqMap);
        this.msgType = "music";
        this.title =title;
        this.description=description;
        this.musicUrl =musicUrl;
        this.hQMusicUrl =hQMusicUrl;
        this.thumbMediaId =thumbMediaId;
    }
}
